package com.xc.quickstart.api.vo;

import com.google.common.collect.Sets;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Set;

/**
 * @author chaoyu
 * @date 2021-02-23
 */

@Data
@ApiModel(description = "数据权限对象")
public class AuthorityDataVO {

    @ApiModelProperty(name = "部门ID集")
    private Set<Integer> deptIds = Sets.newHashSet();

    @ApiModelProperty(name = "userID集")
    private Set<Integer> adminIds = Sets.newHashSet();

    @ApiModelProperty(name = "工号集")
    private Set<String> jobNumbers = Sets.newHashSet();

    @ApiModelProperty(name = "省ID集")
    private Set<Integer> provinceIds = Sets.newHashSet();

    @ApiModelProperty(name = "市ID集")
    private Set<Integer> cityIds = Sets.newHashSet();

    @ApiModelProperty(name = "区ID集")
    private Set<Integer> districtIds = Sets.newHashSet();

    @ApiModelProperty(name = "镇ID集")
    private Set<Integer> townIds = Sets.newHashSet();
}
